package com.lanou.controller;

import com.lanou.service.T8TFurnitureService;
import com.lanou.utils.AjaxResult;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.annotation.Resource;

/**
 * Created by dllo on 18/3/19.
 */

@Controller
public class T8TFurnitureController {

    @Resource
    private T8TFurnitureService t8TFurnitureService;


    /**
     * 查询家居商品分类-- 郭中宏
     * @return 返回所有家居分类
     */
    @ResponseBody
    @RequestMapping(value = "/getFindFuritureAndDetail")
    public AjaxResult getFindFuritureAndDetail(){
        return new AjaxResult("200","1.0",t8TFurnitureService.getFindFuritureAndDetail());
    }


}
